package ru.spbau.database.group3.index;

import java.util.Comparator;

import ru.spbau.database.group3.engine.Column;

public class ColumnComparator implements Comparator<Column>{

	private static ColumnComparator instance = new ColumnComparator();
	
	public static ColumnComparator getInstance() {
		return instance;
	}
	
	@Override
	public int compare(Column o1, Column o2) {
		return o1.getName().compareTo(o2.getName());
	}

}
